package org.gwtmultipage.sample.client;

import hr.fer.zemris.rznu.model.dto.user.UserDTO;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("login")
public interface LoginService extends RemoteService{

	public UserDTO checkLogin(String userName, String password) throws IllegalArgumentException;

	public UserDTO isUserLogged();
	
	public void logout();
}
